<?php
/*
 * PHP QR Code encoder
 *
 * Root library file, prepares environment and includes dependencies
 *
 * Based on libqrencode C library distributed under LGPL 2.1
 * Copyright (C) 2006, 2007, 2008, 2009 Kentaro Fukuchi <fukuchi@megaui.net>
 *
 * PHP QR Code is distributed under LGPL 3
 * Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 */
    namespace Zxing;
	$QR_BASEDIR = dirname(__FILE__).DIRECTORY_SEPARATOR;

	// Required libs

	include $QR_BASEDIR."Common/customFunctions.php";

	include $QR_BASEDIR."QrReader.php";
	include $QR_BASEDIR."Reader.php";

    include $QR_BASEDIR."LuminanceSource.php";
    include $QR_BASEDIR."BinaryBitmap.php";
    include $QR_BASEDIR."Binarizer.php";
    include $QR_BASEDIR."ResultPoint.php";
    include $QR_BASEDIR."Result.php";

    include $QR_BASEDIR."Common/GlobalHistogramBinarizer.php";
    include $QR_BASEDIR."Common/HybridBinarizer.php";
    include $QR_BASEDIR."Common/BitMatrix.php";
    include $QR_BASEDIR."Common/GridSampler.php";
    include $QR_BASEDIR."Common/DetectorResult.php";
    include $QR_BASEDIR."Common/DefaultGridSampler.php";
    include $QR_BASEDIR."Common/PerspectiveTransform.php";
    include $QR_BASEDIR."Common/BitSource.php";
    include $QR_BASEDIR."Common/DecoderResult.php";
    include $QR_BASEDIR."Common/Detector/MathUtils.php";
    //include $QR_BASEDIR."Common/Detector/MathUtils.php";
    include $QR_BASEDIR."Qrcode/QRCodeReader.php";
    include $QR_BASEDIR."Qrcode/Decoder/Decoder.php";
    include $QR_BASEDIR."Qrcode/Decoder/Version.php";
    include $QR_BASEDIR."Qrcode/Decoder/DecodedBitStreamParser.php";
    include $QR_BASEDIR."Qrcode/Decoder/Mode.php";
    include $QR_BASEDIR."Qrcode/Decoder/FormatInformation.php";
    include $QR_BASEDIR."Qrcode/Decoder/ErrorCorrectionLevel.php";
    include $QR_BASEDIR."Qrcode/Decoder/DataMask.php";
    include $QR_BASEDIR."Qrcode/Decoder/BitMatrixParser.php";
    include $QR_BASEDIR."Qrcode/Decoder/DataBlock.php";

    include $QR_BASEDIR."Qrcode/Detector/Detector.php";

    include $QR_BASEDIR."Qrcode/Detector/AlignmentPattern.php";
    include $QR_BASEDIR."Qrcode/Detector/FinderPattern.php";
    include $QR_BASEDIR."Qrcode/Detector/FinderPatternFinder.php";
    include $QR_BASEDIR."Qrcode/Detector/FinderPatternInfo.php";
    include $QR_BASEDIR."Qrcode/Detector/AlignmentPatternFinder.php";

    include $QR_BASEDIR."Common/Reedsolomon/ReedSolomonDecoder.php";

    include $QR_BASEDIR."Common/Reedsolomon/GenericGFPoly.php";
    include $QR_BASEDIR."Common/Reedsolomon/GenericGF.php";

	include $QR_BASEDIR."GDLuminanceSource.php";//依赖于LuminanceSource



